package com.jy.adscm.order.service;

import com.jy.adscm.exception.AdscmSystemException;
import com.jy.adscm.order.bean.JyOrder;
import com.baomidou.mybatisplus.service.IService;
import com.jy.adscm.security.utils.Token;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author zyl
 * @since 2019-01-18
 */
public interface JyOrderService extends IService<JyOrder> {

    boolean insertJyOrder(JyOrder jyOrder, Token token) throws AdscmSystemException;

    boolean deleteJyOrder(Integer id, Token token)throws AdscmSystemException;

    Boolean updateJyOrder(JyOrder jyOrder, Token token)throws AdscmSystemException;

    List<JyOrder> selectBystate(Integer state,Token token)throws AdscmSystemException;

    Boolean signOrder(Integer id, Token token)throws AdscmSystemException;
}
